package com.reliable.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.reliable.api.dto.template.TemplateAnalysisRecordDTO;
import com.reliable.api.param.template.TemplateAnalysisRecordPageParam;
import com.reliable.service.domain.ReliableTemplateAnalysisTask;
import org.apache.ibatis.annotations.Param;

/**
 * 模板关联的分析任务表Mapper接口
 */
public interface ReliableTemplateAnalysisTaskMapper extends BaseMapper<ReliableTemplateAnalysisTask> {
    /**
     * 分页查询模板分析记录
     * @param page 分页参数
     * @param param 查询参数
     * @return 分页结果
     */
    IPage<TemplateAnalysisRecordDTO> selectTemplateAnalysisRecordsPage(IPage<TemplateAnalysisRecordDTO> page, @Param("param") TemplateAnalysisRecordPageParam param);
}